package com.obj.parser.mtl;

import com.obj.WavefrontObject;
import com.obj.parser.LineParser;

public class DissolveParser extends LineParser {

	float dissolveValue = 1.0f;


	@Override
	public void incoporateResults(WavefrontObject wavefrontObject) {
		wavefrontObject.getCurrentMaterial().setDissolve(dissolveValue);
	}

	@Override
	public void parse() {
		dissolveValue = Float.parseFloat(words[1]);
	}

}
